Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

read midi input, avoiding issues from always-full buffer #5

Merged
merged 1 commit into from Oct 13, 2021

Conversation

catfact
Copy link
Contributor

@catfact catfact commented Oct 7, 2021

see here:
https://www.pjrc.com/teensy/td_midi.html

when connected to a host that is sending midi, it is important to clear the input buffer. otherwise the host device/software is liable to stall or do other bad stuff.

(er, i should say that i have not actually tested this myself, going by 2nd-hand reports.)


oh right: also commented out the serial port initialization, since its unused; (and in the context of norns means the host is trying to figure out what to do with a non-functional usb-serial port.)

@andr-ew andr-ew merged commit 496d409 into andr-ew:master Oct 13, 2021
@catfact catfact deleted the fix/pull-midi-input branch October 13, 2021 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants